Mega Code Archive

Categories
1) Android
2) ASP.Net
3) ASP.Net Tutorial
4) C
5) C Tutorial
6) C#
7) C# Book
8) C# by API
9) C# Tutorial
10) C++
11) C++ Tutorial
12) Delphi
13) Flash ActionScript
14) Flex
15) Java
16) Java Book
17) Java by API
18) Java Tutorial
19) JavaScript DHTML
20) JavaScript Reference
21) JavaScript Tutorial
22) MSOfficeExcel 2007 Tutorial
23) MSOfficePowerPoint 2007 Tutorial
24) MSOfficeWord 2007 Tutorial
25) MSSQL
26) MSSQL Tutorial
27) MySQL
28) MySQL Tutorial
29) Oracle PLSQL
30) Oracle PLSQL Tutorial
31) Perl
32) Php
33) PostgreSQL
34) Python
35) Python Tutorial
36) Ruby
37) Silverlight
38) VB.Net
39) VB.Net by API
40) VB.Net Tutorial
41) Visual C++ .NET
42) VisualBasic Script
43) XML
44) XML Tutorial
 
Oracle PLSQL
1) Aggregate Functions
2) Analytical Functions
3) Char Functions
4) Constraints
5) Conversion Functions
6) Cursor
7) Data Type
8) Date Timezone
9) Hierarchical Query
10) Index
11) Insert Delete Update
12) Large Objects
13) Numeric Math Functions
14) Object Oriented Database
15) PL SQL
16) Regular Expressions
17) Report Column Page
18) Result Set
19) Select Query
20) Sequence
21) SQL Plus
22) Stored Procedure Function
23) Subquery
24) System Packages
25) System Tables Views
26) Table
27) Table Joins
28) Trigger
29) User Previliege
30) View
31) XML
Aggregate Functions
1) Add an OTHER and TOTAL column to the report
2) Aggregate function and alias column name
3) Aggregate function and group by clause
4) All rows with the max value
5) Average Price Per Department
6) Average Price Per Departments Having More Than 3 Products
7) Average salary in Toronto
8) AVG
9) AVG function and NULLs
10) AVG(DISTINCT salary)
11) Column alias name for count function
12) Combine the max and avg function together
13) Compute sum on salary
14) Count date field value, and calculation
15) Count department and calculate average salary
16) Count distinct column value
17) Count employee in a department after grouping by department id
18) Count employee, group by department id and job title
19) Count null
20) Count with group by
21) Count() - count(column_Name)
22) Count() - count(onhand)
23) Count() and column renaming
24) Count() vs count(column name)
25) Count() with where clause
26) Count(1)
27) COUNT(column) and COUNT()
28) Count(distinct state)
29) DISTINCT operator inside a group function
30) Display the order number and total order price of the order(s) with the maximum total order price
31) Doing calculation in sum() function
32) Employees whose salary is more than average salary
33) Employees whose salary is more than average salary(use having clause only)
34) Example using the COUNT function with group by clause
35) Example using the MIN function with group by clause
36) Example using the MIN function with having clause
37) Find out which maker has a null value car with count()
38) Find the average of the uniquely priced cars
39) Get the number of rows in each city group using the COUNT() function
40) GROUP BY clause and AVG() function
41) GROUP BY function would produce inventory totals distributed across different vendors
42) Having with aggregate function
43) Having with avg
44) In Oracle, nulls in calculations involving aggregate functions are ignored
45) Limit the rows passed to the aggregate function using a WHERE clause
46) MAX
47) Max - Min
48) MAX with character data, retrieves the highest value alphabetically (that is, closest z)
49) Max with null value
50) Max(total_price) - min(total_price)
51) MIN
52) MIN with character data, retrieves the lowest value alphabetically (that is, closest to a)
53) MIN with dates, it gives you the oldest dates
54) Min with null value
55) Order by the result of aggregate function
56) Retrieves the city and average salary of the employees grouped by city
57) SUM
58) Sum column for a certain time period
59) SUM function and NULLs
60) Sum salary group by department number
61) Sum salary over
62) Sum with column calculation
63) Sum() function and having clause
64) Syntax
65) To find out the average price for each manufacturer
66) To find the price range for the cars on the lot in relation to the manufacturer, the GROUP BY clause must be used
67) Use avg and nvl together
68) Use MAX with dates, it gives you the most recent dates
69) Use NVL in set statement
70) Use the aggregate functions with any valid expression
71) Using GROUP BY would tell us how many cars from each vendor we have on the lot
72) -Using the COUNT function in Having clause
73) Using the SUM function with GROUP BY Clause
74) Using the WHERE clause with group functions
75) Who have the max value
76) Wrap case when into sum() function